package pl.vanta.mjuzik.gui;

import javax.swing.BoxLayout;
import javax.swing.JCheckBox;

import pl.vanta.utils.gui.panels.VPanel;

public class SavePlaylistFileChooserOptionsPanel extends VPanel
{
	private static final long	serialVersionUID	= 1L;

	private JCheckBox			cbxRelative;

	public SavePlaylistFileChooserOptionsPanel()
	{
		initComponents();
		setupComponents();
		layoutComponents();
	}

	public void initComponents()
	{
		this.cbxRelative = new JCheckBox("Create relative paths");
	}

	public void setupComponents()
	{
	}

	public void layoutComponents()
	{
		this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

		this.add(this.cbxRelative);
	}

	public boolean isRelative()
	{
		return this.cbxRelative.isSelected();
	}
}